package com.amap.rideroute.bean;

import com.amap.api.services.core.LatLonPoint;

/**
 * 存地址列表的实体类
 */
public class AddressPointBean {
    private LatLonPoint[] latLonPoints;//用于规划路径的点数组
    private LatLonPoint currentPoint;//用于保存当前点的信息
    private String addressName;
    private boolean isShowTop;//为真时自动排在第一位

    public AddressPointBean() {
    }
    public AddressPointBean(LatLonPoint currentPoint, String addressName) {
        this.currentPoint = currentPoint;
        this.addressName = addressName;
    }
    public LatLonPoint getCurrentPoint() {
        return currentPoint;
    }

    public void setCurrentPoint(LatLonPoint currentPoint) {
        this.currentPoint = currentPoint;
    }

    public LatLonPoint[] getLatLonPoints() {
        return latLonPoints;
    }

    public void setLatLonPoints(LatLonPoint[] latLonPoints) {
        this.latLonPoints = latLonPoints;
    }

    public String getAddressName() {
        return addressName;
    }

    public void setAddressName(String addressName) {
        this.addressName = addressName;
    }

    public boolean isShowTop() {
        return isShowTop;
    }

    public void setShowTop(boolean showTop) {
        isShowTop = showTop;
    }
}
